import Axios from "axios";
import Qs from 'qs'
export default {
    /**
    * 添加任务配置
    */
    addGenerator: function (params) {
        return Axios.post('/crawler/api/generator/add', params);
    },
    /**
     * 获取任务配置
     */
    selectByTaskId: function ({taskId}) {
       return Axios.get('/crawler/api/generator/selectByTaskId?taskId='+taskId);
    }

}
